package com.myorg.search;

import javax.faces.application.FacesMessage;
import javax.faces.context.FacesContext;

public class BaseBean {
	protected void addMessage(String summary, String detail) {
		FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_INFO, summary, detail);
		FacesContext.getCurrentInstance().addMessage(null, message);
	}
}
